#pragma once

#include "CmdHandler3.h"

class LineStrip3D;
class PointHandler;
class Line3DHandler : public CmdHandler3
{
	Q_OBJECT
public:
	Q_INVOKABLE Line3DHandler();
	~Line3DHandler();

	virtual void input(const QVariant& data, const QString& rawInput, CommandSource cs) override;
private:
	std::shared_ptr<LineStrip3D> m_line;
	std::shared_ptr<PointHandler> m_pointStateMachine;
};
